package com.llxy.worker.domain;

import com.llxy.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

public class Train extends BaseEntity implements Serializable {
    private Integer id;

    /**
    * 培训学校id
    */
    private Integer schoolId;

    private Integer supportId;

    private String file;

    /**
    * 培训专业
    */
    private String specialityId;

    /**
    * 培训学期
    */
    private Integer specialityDay;

    /**
    * 所在班级
    */
    private Long deptId;

    /**
    * 结业证号
    */
    private String cardNumber;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public String getSpecialityId() {
        return specialityId;
    }

    public void setSpecialityId(String specialityId) {
        this.specialityId = specialityId == null ? null : specialityId.trim();
    }

    public Integer getSpecialityDay() {
        return specialityDay;
    }

    public void setSpecialityDay(Integer specialityDay) {
        this.specialityDay = specialityDay;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber == null ? null : cardNumber.trim();
    }

    public Integer getSupportId() {
        return supportId;
    }

    public void setSupportId(Integer supportId) {
        this.supportId = supportId;
    }

    public String getFile() {
        return file;
    }

    public void setFile(String file) {
        this.file = file;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", schoolId=").append(schoolId);
        sb.append(", specialityId=").append(specialityId);
        sb.append(", specialityDay=").append(specialityDay);
        sb.append(", deptId=").append(deptId);
        sb.append(", cardNumber=").append(cardNumber);
        sb.append(", createTime=").append(getCreateTime());
        sb.append("]");
        return sb.toString();
    }
}